[DNS Records] Update a DNS record
Update an existing DNS record’s configuration. You can modify the name, content, TTL, and proxy status (for applicable types). The record type cannot be changed; delete and recreate the record if you need to change its type. Changes are immediately propagated to Cloudflare’s global network.
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
The unique identifier (UUID) of the DNS zone
The unique identifier (UUID) of the DNS record to update
Body
A- AAAAA- AAAACNAME- CNAMEMX- MXTXT- TXTNS- NSSRV- SRVCAA- CAAPTR- PTRSOA- SOA
A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR, SOA 253Time to live in seconds: 1 means automatic. Forced to automatic on a proxied record.
0 <= x <= 65535Route the traffic through the edge network. Only A, AAAA and CNAME records can be proxied.
Response
DNS record updated successfully
A- AAAAA- AAAACNAME- CNAMEMX- MXTXT- TXTNS- NSSRV- SRVCAA- CAAPTR- PTRSOA- SOA
A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR, SOA 253The organization's instance this A or AAAA record points to, when its address belongs to one
0 <= x <= 42949672950 <= x <= 4294967295
